package com.wkx.mapper;


import com.wkx.pojo.Type;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface BookMapper {

    List<Type> getTypeList();

    int addType(Type type);
    
    Type getTypeById(Integer tid);
    
    int deleteTypeById(Integer tid);

    int updateTypeById(Type type);
}